import request from '@/utils/request'

// 查询主检结论列表
export function listBasemaincheckconclusion(query) {
  return request({
    url: '/basic/basemaincheckconclusion/list',
    method: 'get',
    params: query
  })
}

// 查询主检结论详细
export function getBasemaincheckconclusion(id) {
  return request({
    url: '/basic/basemaincheckconclusion/' + id,
    method: 'get'
  })
}

// 新增主检结论
export function addBasemaincheckconclusion(data) {
  return request({
    url: '/basic/basemaincheckconclusion',
    method: 'post',
    data: data
  })
}

// 修改主检结论
export function updateBasemaincheckconclusion(data) {
  return request({
    url: '/basic/basemaincheckconclusion',
    method: 'put',
    data: data
  })
}

// 删除主检结论
export function delBasemaincheckconclusion(id) {
  return request({
    url: '/basic/basemaincheckconclusion/' + id,
    method: 'delete'
  })
}
